package com.rms.server.Domain;


import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import org.apache.ibatis.type.Alias;

@Alias("user")
@Getter
@Setter
@Schema(name = "User", description = "用户信息实体")
public class User {

    @Schema(description = "用户唯一标识符")
    private Long uid;

    @Schema(description = "用户密码")
    private String upassword;

    @Schema(description = "用户角色")
    private String urole;

    @Schema(description = "用户名")
    private String uname;

    @Schema(description = "用户头像URL")
    private String uavatar;
}